package navigation;

/**
 *
 * @author hyurah
 */

public class PathPoint {

	private int x;
	private int y;
	private int direction;

	public PathPoint(int x, int y) {
		this.x = x;
		this.y = y;
		direction = -1;
	}

	public void setDirection(int direction) {
		this.direction = direction;
	}

	public int getX() {
		return x;
	}

	public int getY() {
		return y;
	}

	public int getDirection() {
		return direction;
	}

	public PathPoint clone() {
		PathPoint clone = new PathPoint(x, y);
		clone.setDirection(direction);
		return clone;
	}

}
